export default {
    movieListN(state){
       return  state.movieList.filter(item=>{
            return item.name.length>3&& item.name.length<5
       })
    },
    movieListNM(state){
        return ({n,m})=>{
            return state.movieList.filter(item=>{
                console.log(item.name.trim());
                return item.name.trim().length>n&& item.name.trim().length<m
            })
        }
    }
}